package edu.xalead;

import lombok.Data;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;

@Setter
@Repository
public class UserDao {
//    @Autowired
    private String url;
    private String driverClass;
    private String username;
    private String password;


    public User findUser(){
        User u = new User(1000,"张三",22,"男",null,null,null,null,null);
        return u;
    }
}
